home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_1.lha / 6_1 / 6_1a2c.c < prev    next >
Text File  |  1993-08-08  |  250b  |  12 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. oid outputstring(string &s)
  6.  
  7.    string_iterator next(s);
  8.    char c;
  9.    while (c = next())
  10. cout << chr(c);
  11.  
  12.